<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Swiper demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css">

    <!-- Demo styles -->
    <style>
        html,
        body {
            position: relative;
            height: 100%;
        }

        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        img {
            width: 100%;
            height: 120%;
        }

        p {
            position: absolute;
            background-color: #000;
            opacity: 0.5;
            color: #fff;
        }

        .swiper-container {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
            transition: 300ms;
            transform: scale(0.8);
        }

        .swiper-slide-active,
        .swiper-slide-duplicate-active {
            transform: scale(1);
        }
    </style>
</head>

<body>
    <!-- Swiper -->
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1BdD0y.img?w=584&h=712&m=6" alt="">
                <p>我喜欢耀嘉音</p>
            </div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1BdFh8.img?w=584&h=712&m=6" alt="">
            </div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1BdRcj.img?w=584&h=711&m=6" alt="">
            </div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1BdFhf.img?w=584&h=711&m=6" alt="">
            </div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1BdD0M.img?w=584&h=711&m=6" alt="">
            </div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1B2QSJ.img?w=768&h=432&m=6&x=674&y=182&s=131&d=131"
                    alt=""></div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1B357p.img?w=768&h=480&m=6&x=476&y=264&s=361&d=361"
                    alt=""></div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1B2TvK.img?w=768&h=432&m=6&x=586&y=145&s=136&d=136"
                    alt=""></div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1B2TvN.img?w=768&h=432&m=6&x=650&y=113&s=154&d=154"
                    alt=""></div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1B2TvO.img?w=768&h=432&m=6" alt="">
            </div>
            <div class="swiper-slide"><img
                    src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AA1Be25h.img?w=584&h=328&m=6" alt="">
            </div>
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
    </div>

    <!-- Swiper JS -->
    <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"> </script>

    <!-- Initialize Swiper -->
    <script>
        var swiper = new Swiper('.swiper-container', {
            slidesPerView: 3,
            spaceBetween: 30,
            centeredSlides: true,
            loop: true,
            autoplay: true,
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
            },
        });
    </script>
</body>

</html>